package com.offcn.sellergood.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.offcn.sellergood.pojo.SpecificationOption;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/****
 * @Author:ujiuye
 * @Description:SpecificationOption的Dao
 * @Date 2021/2/1 14:19
 *****/
public interface SpecificationOptionMapper extends BaseMapper<SpecificationOption> {

    @Select("SELECT id,spec_name AS TEXT FROM tb_specification")
    public List<Map> selectOptions();
}
